package com.zw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zw.dto.ApplyRecordPagesDto;
import com.zw.dto.PermApplyDto;
import com.zw.dto.PermAuditDto;
import com.zw.entity.BasicData;
import com.zw.entity.PermissionApplyRecord;
import com.zw.vo.ApplyRecordPagesVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * (PermissionApplyRecord)表服务接口
 *
 * @author makejava
 * @since 2025-03-25 23:41:46
 */
public interface PermissionApplyRecordService extends IService<PermissionApplyRecord> {
    /**
     * 权限申请
     * @param dto
     * @return
     */
    Boolean permApply(PermApplyDto dto);

    /**
     * 权限审核列表分页查询
     * @param dto
     * @return
     */
    PageInfo<ApplyRecordPagesVO> applyRecordPages(ApplyRecordPagesDto dto);

    /**
     * 权限审核
     * @param dto
     * @return
     */
    Boolean permAudit(PermAuditDto dto);
}
